// eslint-disable-next-line import/prefer-default-export
export const transformTime = function (date) {
  const d = new Date(date);
  const datetime = `${d.getFullYear()}年${d.getMonth() + 1}月${d.getDate()}日`;
  return datetime;
};
